package com.cc.common.model

/**
 * @author cc
 * @since 2024/1/21
 * @version 1.0
 */
sealed class Results<out T>(open val status: Boolean) {
    data class Ok<T>(val data: T, val msg: String = "操作成功") : Results<T>(true)
    data class Err(val msg: String = "操作失败") : Results<Nothing>(false)

}


